﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/TLFLayout.Master" AutoEventWireup="true" CodeBehind="tabDemo.aspx.cs" Inherits="HRTemplate.tabDemo" %>

<%@ Register Src="~/userControls/leftNav.ascx" TagPrefix="uc1" TagName="leftNav" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderTop" runat="server">
    <script>
        $(function () {
            setTab("办事大厅", "标签页");
        });
    </script>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolderLeft" runat="server">
    <uc1:leftNav runat="server" ID="leftNav" />
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolderSecondNavigation" runat="server">
    <a href="#">办事大厅</a> > 公共页面类 > 标签页 >
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="ContentPlaceHolderRight" runat="server">
    <h3>标签Demo</h3>
    <div class="tabulDemo">
        <ul class="tabul">
            <li class="tabselect"><a href="javascript:;" onfocus="this.blur();" id="tab_button1" onclick="showTab('Tab1')">Tab1</a></li>
            <li><a href="javascript:;" onfocus="this.blur();" id="tab_button2" onclick="showTab('Tab2')">Tab2</a></li>
            <li><a href="javascript:;" onfocus="this.blur();" id="tab_button3" onclick="showTab('Tab3')">Tab3</a></li>
        </ul>
        <div id="Tab1Content" class="tbdiv">show tab 1</div>
        <div id="Tab2Content" class="tbdiv" style="display: none;">show tab 2</div>
        <div id="Tab3Content" class="tbdiv" style="display: none;">show tab 3</div>
    </div>
</asp:Content>
